package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <desc>
 *      设备产品型号信息
 * </desc>
 *
 * @createDate 2017-10-13.
 */
@ItlTables("product_type_info")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ProductTypePO extends BasePO implements Serializable {
    @ItlField(value = "type_pid",logicKey = "key")
    private String typePid; //产品型号ID

    @ItlField("device_kind")
    private Integer deviceKind; //设备类别

    @ItlField("type_name")
    private String typeName; //型号名称
    @ItlField("type_code")
    private String typeCode; //型号代号
    @ItlField("type_alias")
    private String typeAlias; //型号缩写

    @ItlField("remark")
    private String remark; //备注说明

    @ItlField("sign_secret_key")
    private String signSecretKey; //签名私钥
    @ItlField("sign_pub_key")
    private String signPubKey; //签名公钥
    @ItlField("server_key")
    private String serverKey; //服务器公钥


    //阿里物联网IoT
    @ItlField("iot_product_key")
    private  String iotProductKey; //云电梯产品KEY  弃用
    @ItlField("iot_version")
    private  Integer iotVersion; //iot版本：0基础版 1高级版


}
